# coding: utf-8
import time
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice

device = MonkeyRunner.waitForConnection()

result = device.takeSnapshot()
result.writeToFile('/tmp/shot%s.png' % int(time.time()), 'png')
